package chap5;

/**
 * @author oldliu
 * @since 1.0
 */
public class ForError {
    public static void main(String[] args) {
//        int i = 0;
////        for (; i <10 ; i++) {
////            System.out.println("This is :"+i);
////        }
////        System.out.println("for结束了："+i);
//        for (int i = 0;; i++) {
//            System.out.println(i);
//        }
        for(;;){
            System.out.println("This is a 死循环");
        }
    }
}
